{{each res}}
<div class="goods">
    
    <a href="{{$value['ad_link']}}">
        <div class="goodImg">
            <span></span>
            <img src="{{$value['ad_code']}}" alt="">
        </div>
        <div class="art-text">
            <p class="name">
                {{$value['ad_name']}}
            </p>
            <p class="detail">
                {{$value['ad_title']}}
            </p>
        </div>
    </a>
    
    <div class="goodsScroll">
        <div class="ul-scroll">

            <ul class="G1">
               {{if $value['product_info'].length ==0}}
                   <li></li>
                    {{else}}
                    <li style="padding-right:.2rem;width: 1.5rem;padding-left: 0">
                            <a href="{{$value['ad_link']}}">
                                <img style="height: 1.3rem;width:1.3rem"
                                    src="http://img550.5lux.com.cn/2016/11/24/bc/147995952824_260x260.jpg" alt="">
                            </a>
                    </li>
                {{/if}}
            </ul>

        </div>
    </div>
</div>
{{/each}}